package cn.qq.xiangmu.entity;

public class Penguin {
    //常量的定义 Integer.MAX_VALUE;
    public static final String SEX_FMALE = "Q妹";
    public static final String SEX_MALE = "Q仔";
    public String name;
    public int health;
    public  int love;
    public   String sex;

    public Penguin() {
    }

    public Penguin(String name, int health, int love, String sex) {
        this.name = name;
        this.health = health;
        this.love = love;
        this.sex = sex;
    }

    public void print(){
        System.out.println("宠物的自白");
        System.out.println("我的名字叫"+name+"，健康值是"+health+"和主人的亲密度是"+love+",性别是"+sex);
    }

}
